package cn.ecut.model;

public class User {
    private int userid;
    private String username;
    private String userpassword;
    private String userphone;
    private String usergender;
    private String useremail;

    public User(int userid, String username, String userpassword, String userphone, String usergender, String useremail) {
        this.userid = userid;
        this.username = username;
        this.userpassword = userpassword;
        this.userphone = userphone;
        this.usergender = usergender;
        this.useremail = useremail;
    }

    public User() {
    }

    @Override
    public String toString() {
        return "User{" +
                "userid=" + userid +
                ", username='" + username + '\'' +
                ", userpassword='" + userpassword + '\'' +
                ", userphone='" + userphone + '\'' +
                ", usergender='" + usergender + '\'' +
                ", useremail='" + useremail + '\'' +
                '}';
    }

    public int getUserid() {
        return userid;
    }

    public void setUserid(int userid) {
        this.userid = userid;
    }

    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username;
    }

    public String getUserpassword() {
        return userpassword;
    }

    public void setUserpassword(String userpassword) {
        this.userpassword = userpassword;
    }

    public String getUserphone() {
        return userphone;
    }

    public void setUserphone(String userphone) {
        this.userphone = userphone;
    }

    public String getUsergender() {
        return usergender;
    }

    public void setUsergender(String usergender) {
        this.usergender = usergender;
    }

    public String getUseremail() {
        return useremail;
    }

    public void setUseremail(String useremail) {
        this.useremail = useremail;
    }
}

